package com.ruoyi.merchant.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 电子围栏信息对象 t_fence
 * 
 * @author xin.jucheng
 * @date 2024-03-28
 */
public class Fence extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 设备id */
    @Excel(name = "设备id")
    private String deviceId;

    /** 所属客户id */
    private String customerId;
    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String fenceName;

    /** 围栏类型 */
    @Excel(name = "围栏类型")
    private Integer type;

    /** 禁止开始时间 */
    @Excel(name = "禁止开始时间")
    private String stopStartTime;

    /** 禁止结束时间 */
    @Excel(name = "禁止结束时间")
    private String stopEndTime;

    /** 设置方式  0 圆形 */
    @Excel(name = "设置方式  0 圆形")
    private Integer settingMode;

    /** 半径 */
    @Excel(name = "半径")
    private BigDecimal radius;

    /** 启用 0 否 1 是 */
    @Excel(name = "启用 0 否 1 是")
    private String enableVal;

    /** 0 未删除  1 已删除 */
    @Excel(name = "0 未删除  1 已删除")
    private Long del;

    /** 电子围栏图表 */
    @Excel(name = "电子围栏图表")
    private String pointsJson;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setFenceName(String fenceName) 
    {
        this.fenceName = fenceName;
    }

    public String getFenceName() 
    {
        return fenceName;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setStopStartTime(String stopStartTime) 
    {
        this.stopStartTime = stopStartTime;
    }

    public String getStopStartTime() 
    {
        return stopStartTime;
    }
    public void setStopEndTime(String stopEndTime) 
    {
        this.stopEndTime = stopEndTime;
    }

    public String getStopEndTime() 
    {
        return stopEndTime;
    }
    public void setSettingMode(Integer settingMode) 
    {
        this.settingMode = settingMode;
    }

    public Integer getSettingMode() 
    {
        return settingMode;
    }
    public void setRadius(BigDecimal radius) 
    {
        this.radius = radius;
    }

    public BigDecimal getRadius() 
    {
        return radius;
    }
    public void setEnableVal(String enableVal) 
    {
        this.enableVal = enableVal;
    }

    public String getEnableVal() 
    {
        return enableVal;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }
    public void setPointsJson(String pointsJson) 
    {
        this.pointsJson = pointsJson;
    }

    public String getPointsJson() 
    {
        return pointsJson;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerId() {
        return customerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("fenceName", getFenceName())
            .append("type", getType())
            .append("stopStartTime", getStopStartTime())
            .append("stopEndTime", getStopEndTime())
            .append("settingMode", getSettingMode())
            .append("radius", getRadius())
            .append("enableVal", getEnableVal())
            .append("createTime", getCreateTime())
            .append("del", getDel())
            .append("pointsJson", getPointsJson())
            .toString();
    }
}
